#ifndef HM_UTIL_H_
#define HM_UTIL_H_

/*
 * William
*/

#include <html\htmlcontrol.h> 
#include "data.h"
class CHtmlControl;

class ChmUtil
{
friend class CMyDataCenter;	
public:
	ChmUtil();
	virtual ~ChmUtil();
	void Init(CHtmlControl* aControl);
	void HideDiv(const TDesC& div, bool refresh = false);
	void ShowDiv(const TDesC& div, bool refresh = false);
	bool IsDivVisible(const TDesC& divname);
	void ShowTab();
	void AdjustClientHeight();
public:
	int _clientheight;
	int _fullclientheight;
	int _menubarheight;
	int _apptabheight;		
};

#endif /*HM_TAB_H_*/
